/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint.Selection*/
public class PpSelection extends JavaScriptObject {

	protected PpSelection() { }

  public native final PpApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final void cut()/*-{
		this.Cut( );
	}-*/;

	public native final void copy()/*-{
		this.Copy( );
	}-*/;

	public native final void delete()/*-{
		this.Delete( );
	}-*/;

	public native final void unselect()/*-{
		this.Unselect( );
	}-*/;

  public final PpSelectionType getType() {
    return PpSelectionType.valueOf(_getType());
  }

	private native final int _getType()/*-{
		return this.Type;
	}-*/;

	public native final SlideRange getSlideRange()/*-{
		return this.SlideRange;
	}-*/;

	public native final PpShapeRange getShapeRange()/*-{
		return this.ShapeRange;
	}-*/;

	public native final TextRange getTextRange()/*-{
		return this.TextRange;
	}-*/;

	public native final PpShapeRange getChildShapeRange()/*-{
		return this.ChildShapeRange;
	}-*/;

	public native final boolean getHasChildShapeRange()/*-{
		return this.HasChildShapeRange;
	}-*/;

}
